package com.logicalthinking.socialmall.dao;

import com.logicalthinking.socialmall.entity.ProductAppend;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Set;

/**
 * 产品附加属性
 * @author chenLiJia
 * @since 2020-02-17 14:43:32
 * @version 1.0
 **/
public interface ProductAppendMapper extends Mapper<ProductAppend> {
    ProductAppend selectByPrimaryKey(String productId);


    /**
     * 根据产品id集合查询出产品补充参数
     * @param productIdSet
     * @return
     */
    List<ProductAppend> listByProductIdSet(@Param("productIdSet") Set<String> productIdSet);
}